package A3D_Test 
{
	import flash.display.Stage;
	import flash.text.TextField;
	import flash.text.TextFieldAutoSize;

	public class Logger 
	{
		public function Logger() 
		{
		}
		
		public static function Setup( stg:Stage ):void
		{
			logView.autoSize = TextFieldAutoSize.LEFT;
			stg.addChild( logView );
			logView.textColor = 0x6AFF72;
			logView.selectable = false;
		}
		
		public static function Log( msg:String ):void {
			logView.appendText( msg );
			logView.appendText( "\n" );
		}

		private static var logView:TextField = new TextField();
	}

}